package com.lingchen.boot.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by lc on 2020/4/17
 */
@Data
@Table()
@Entity
public class User implements Serializable {
    @Id
    private Integer id;
    private String name;
    private Integer age;
}
